const getters = {
    sidebar: state => state.app.sidebar,
    device: state => state.app.device,
    token: state => state.user.token,
    name: state => state.user.userInfo.username,
    staffPhoto: state => state.user.userInfo.staffPhoto,
    companyId: state => state.user.userInfo.companyId,
    routes: state => state.permission.routes,
    userId: state => state.user.userInfo.userId
}
export default getters